﻿using System;
using System.Collections.Generic;
using System.Text;
using OneMG.Phoenix.Entity;
using OneMG.Phoenix.Service.Model;

namespace OneMG.Phoenix.Service.Contracts
{
    public interface INewsService
    {
        System.Int32 AddNews(NewsModel model );

		void UpdateByNewsID (NewsModel model );

		void DeleteByNewsID (System.Int32 newsID );
		 
        NewsModel GetByNewsID (System.Int32 newsID );

        IList<NewsModel> GetPagedList(int pageSize, int pageIndex, int categoryID,out int totalRecord);
        
    }
}